package com.dw.etl.core.mapper;

import com.dw.etl.core.bean.model.SysRolesPermissions;

import java.util.List;
import java.util.Map;

public interface SysRolesPermissionsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysRolesPermissions record);

    int insertSelective(SysRolesPermissions record);

    SysRolesPermissions selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysRolesPermissions record);

    int updateByPrimaryKey(SysRolesPermissions record);

    List<SysRolesPermissions>  selectByRolesidAndPermissionsid(Map map);
}